import request from '../utils/request';

export function getSearchHot(){
    return request.get('/search/index')
}
export function delSearchHistory(){
    return request.get('/search/clearhistory')
}
export function getSearch(keyword: string,page:string,size:string,order:string,categoryId:string,sort:string){
    return request.get('/goods/list',{params:{keyword,page,size,order,categoryId,sort}})
}
